package com.atstudy.st;

/**
 * @version v1.0
 * @description:
 * @author: admin
 * @date: 2022/12/16 15:14
 * @copyright: 博为峰
 */
public class Student {
    //实例变量
    public String name;
    //实例变量
    public int age;
    //静态变量（类变量）
    public static String claName = "29期";

    //静态方法
    public static void m1(){
        //不能访问非静态成员
//        System.out.println(name);
        System.out.println(claName);
        System.out.println("静态方法");
    }
}
